import API from '../api';
import * as actionTypes from '../consts/actionTypes';

export function userLogin(params) {
  return {
    type: actionTypes.USER_LOGIN,
    payload: API.userLogin(params),
  };
}
